package top.zuli.package01.class09;

public class Father {
    void have(){
        System.out.println("我有一只小毛驴我从来也不骑！");
    }

    public static void main(String[] args) {
        Father father = new Son();
        father.have();
    }
}
class Son extends Father{
    void have(){
        System.out.println("哈哈哈哈哈");
    }
}
